package cn.com.agree.product.service.impl;

import cn.com.agree.product.dao.ProductCategoryDao;
import cn.com.agree.product.entity.ProductCategory;
import cn.com.agree.product.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;

/**
 * Descriptions...
 *
 * @author sun.ys
 * @date 2020/8/16.
 */
@Service
public class CategoryServiceImpl  implements CategoryService {
    
    
    @Autowired
    private ProductCategoryDao productCategoryDao;
    
    
    @Override
    public List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList) {
        System.out.println("categoryTypeList:"+categoryTypeList);
        return productCategoryDao.findByCategoryTypeIn(categoryTypeList);
    }
}
